package com.cjq.orders.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString

@TableName("t_orders")
public class Orders {
    /**
     * 主键ID
      */
    @TableId(type = IdType.AUTO)
    private Integer ordersId;
    /**
     * 订单名字
      */
    private String ordersName;
    /**
     * 订单数量
      */
    private Integer ordersNum;
    /**
     * 订单价格
      */
    private BigDecimal ordersPrice;
    /**
     * 订单状态 1已支付 2未支付
      */
    private Integer ordersStatus;

}
